/**
 * 
 */
package stationGUI;

import java.awt.Color;
import java.io.Serializable;
import java.util.Vector;

/**
 * @author Owner
 *
 */
public class NodeBean2 implements Serializable {
  /**
   * 
   */
  private static final long serialVersionUID = 1L;
  
  Color color;
  Vector<Color> neighbors;
  int numNeighbors;
  int progress;
  int total;
  
  public NodeBean2(NodeBean b) {
    color = b.color;
    neighbors = new Vector<Color>();
    progress=b.progress;
    total=b.total;
    for(NodeBean current:b.neighbors)
      neighbors.add(current.color);
  }
}